#include<stdio.h>
#include<stdlib.h>
int val=10;
int unval;
int main(){
int a=10;
int b=20;
int c=30;
char*s=(char*)malloc(10);
printf("code:%p\n",main);
printf("gval:%p\n",&val);
printf("ungval%p\n",&unval);
printf("stack%p\n",&a);
printf("stack:%p\n",&b);
printf("stack:%p\n",&c);
printf("heap:%p\n",s);
}
